<div id="profile-header-username" style="padding-top:5px;padding-bottom:0px;">
    <div style="float:left;padding-right:10px;padding-bottom:10px;">
        
        <span style="font-size:24px;">
            <a href="#" style="text-decoration:none;" onclick=""><?="$location->locname ($location->custno-$location->locno)"?></a>
        </span>

        <span id="label_customerstatus" style="text-transform: capitalize; display: none; "><a href="javascript:ToggleStatus();"><span id="label_customerstatus_text"><?=$location->activeText?></span></a></span>
    </div>  
    <div class="clear"></div>
</div>
<?php if($location->image!=NULL):?>
<img class="top-image" src="<?=getImageBySize($location->image,250,250)?>"/>
<?php else:?>
<img class="top-image" src="<?=getImageBySize($location->customer->image,250,250)?>"/>
<?php endif?>

<div id="profileheader" style="clear: both; ">
    <table border="0" cellpadding="0" cellspacing="10">
    <tbody><tr>
   
    <td valign="top">

            
            

            <div id="profile-header-balance" class="profile-header-item">
                <label>Nick name:</label> <span id="profile-header-credit-value" name="profile-header-credit-value"><?=$location->locnickname;?></span><br/>
                <label>Address 1:</label> <span id="profile-header-totalpaid-value" name="profile-header-totalpaid-value"><?=$location->add1;?></span><br/>
                <label>City:</label> <span id="profile-header-totalunpaid-value" name="profile-header-totalunpaid-value"><?=$location->city;?></span>&nbsp;&nbsp;/&nbsp;&nbsp;
                <label>State:</label> <span id="profile-header-uninvoiced-value" name="profile-header-uninvoiced-value"><?=$location->state;?></span>&nbsp;&nbsp;/&nbsp;&nbsp;
                <label>Zip:</label> <span id="profile-header-uninvoiced-value" name="profile-header-uninvoiced-value"><?=$location->zip;?></span>
            </div>


    </td>
    </tr>
    </tbody></table>
</div>